package com.shycloud.mido.music.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 曲集表
 *
 * @author nianhua.jiang
 */
@Data
@ApiModel("曲集表")
@TableName(value = "mis_music_collection")
public class MisMusicCollection {

	@TableId(value = "id", type = IdType.AUTO)
	private Integer id;

	/** 曲集名称 */
	@ApiModelProperty("曲集名称")
	@TableField(value = "name")
	private String name;

	/** 别名 */
	@ApiModelProperty("别名")
	private String alias;

	/** 作者 */
	@TableField(value = "author")
	@ApiModelProperty("作者")
	private String author;

	/** 排序 */
	@ApiModelProperty("排序")
	@TableField(value = "sort")
	private Integer sort;

	/** 发布日期 */
	@ApiModelProperty("发布日期")
	@TableField(value = "publish_time")
	private Date publishTime;

	/** 分享次数 */
	@ApiModelProperty("分享次数")
	@TableField(value = "share_num")
	private Integer shareNum;

	/** 浏览次数 */
	@ApiModelProperty("浏览次数")
	@TableField(value = "look_num")
	private Integer lookNum;

	/** 是否置顶(0：置顶，1：未置顶） */
	@ApiModelProperty("是否置顶(0：置顶，1：未置顶）")
	@TableField(value = "top_flag")
	private String topFlag;

	/** 曲集状态（0：启用，1：禁用） */
	@ApiModelProperty("曲集状态（0：启用，1：禁用）")
	@TableField(value = "collection_status")
	private String collectionStatus;

	/** 曲集图片 */
	@ApiModelProperty("曲集图片")
	@TableField(value = "img")
	private String img;

	/** 曲集简介 */
	@ApiModelProperty("曲集简介")
	@TableField(value = "introduction")
	private String introduction;

	/** 上音图书ID */
	@ApiModelProperty("上音图书ID")
	@TableField(value = "sy_id")
	private String syId;

	/** 出版社 */
	@ApiModelProperty("出版社")
	@TableField(value = "publisher")
	private String publisher;

	/** 是否是有声书（0：不是，1：是） */
	@ApiModelProperty("是否是有声书（0：不是，1：是）")
	@TableField(value = "sound_book")
	private String soundBook;

	/** 创建人 */
	@ApiModelProperty("创建人")
	@TableField(value = "create_user")
	private String createUser;

	/** 创建时间 */
	@ApiModelProperty("创建时间")
	@TableField(value = "create_time")
	private Date createTime;

	/** 更新人 */
	@ApiModelProperty("更新人")
	@TableField(value = "update_user")
	private String updateUser;

	/** 更新日期 */
	@ApiModelProperty("更新日期")
	@TableField(value = "update_time")
	private Date updateTime;

	/** 是否是定制曲集（0：不是 1：是） */
	@ApiModelProperty("是否是定制曲集（0：不是 1：是）")
	@TableField(value = "is_custom")
	private String isCustom;

	@ApiModelProperty("曲集价格")
	@TableField(value = "toll_amount")
	private Integer tollAmount;

	@ApiModelProperty("是否收费")
	@TableField(value = "is_toll")
	private String isToll;

	/** 逻辑删除(0：未删除，1：已删除） */
	@ApiModelProperty("逻辑删除(0：未删除，1：已删除）")
	@TableField(value = "del_flag")
	private String delFlag;

	public static final String COL_ID = "id";

	public static final String COL_NAME = "name";

	public static final String COL_AUTHOR = "author";

	public static final String COL_SORT = "sort";

	public static final String COL_PUBLISH_TIME = "publish_time";

	public static final String COL_SHARE_NUM = "share_num";

	public static final String COL_LOOK_NUM = "look_num";

	public static final String COL_TOP_FLAG = "top_flag";

	public static final String COL_COLLECTION_STATUS = "collection_status";

	public static final String COL_IMG = "img";

	public static final String COL_INTRODUCTION = "introduction";

	public static final String COL_SY_ID = "sy_id";

	public static final String COL_SOUND_BOOK = "sound_book";

	public static final String COL_CREATE_USER = "create_user";

	public static final String COL_CREATE_TIME = "create_time";

	public static final String COL_UPDATE_USER = "update_user";

	public static final String COL_UPDATE_TIME = "update_time";

	public static final String COL_DEL_FLAG = "del_flag";

	public static final String COL_ALIAS = "alias";

	public static final String COL_PUBLISHER = "publisher";

	public static final String COL_IS_CUSTOM = "is_custom";
}